package com.bitejiuyeke.job_publish.dao;

import com.bitejiuyeke.job_publish.model.Job;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface JobMapper {
    int insert(Job row);

    int insertSelective(Job row);

    Job selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Job row);

    int updateByPrimaryKeyWithBLOBs(Job row);

    int updateByPrimaryKey(Job row);

    int totalCount(Job row);

    List<Job> selectByPage (Job row);

    int totalCountByUser(Job row);

    List<Job> selectPageByUser(Job row);

}